﻿using System;
using System.Collections.Generic;
using System.Text;
using AdaptiveAgents.Agents.Predicters;
using AdaptiveAgents.Agents.Choosers;

namespace AdaptiveAgents.Agents
{
    /// <summary>
    /// Builds an agents that chooses next player according to MDP with estimated values (not real values)
    /// </summary>
    public class MDPDiscoverBuilder : AgentBuilder
        {
            public override void buildNextPlayerDecision()
            {
                _agent.NextPlayerChooser = new MDPDiscoverNextPlayerChooser(_agent);
            }

            public override void buildNextPlayerPrediction()
            {
                _agent.NextPlayerPredicter = new NormalNextPlayerPredicter(_agent);

            }

            public override void buildMemoryOfAgent()
            {
                _agent.Memory = int.MaxValue;
            }
        }

    
    
}
        
